package com.asktgapp.model;

import com.asktgapp.base.BaseItem;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 *
 */

public class MyPublishNewVO extends BaseItem {


    private List<TwoHardListBean> twoHardList;
    private List<ServiceListBean> serviceList;
    private List<LeaseListBean> leaseList;
    private List<FreeAskSearchVO> nwlProblemList;

    public List<FreeAskSearchVO> getNwlProblemList() {
        if (nwlProblemList == null) {
            return new ArrayList<>();
        }
        return nwlProblemList;
    }

    public void setNwlProblemList(List<FreeAskSearchVO> nwlProblemList) {
        this.nwlProblemList = nwlProblemList;
    }

    public List<TwoHardListBean> getTwoHardList() {
        if (twoHardList == null) {
            return new ArrayList<>();
        }
        return twoHardList;
    }

    public void setTwoHardList(List<TwoHardListBean> twoHardList) {
        this.twoHardList = twoHardList;
    }

    public List<ServiceListBean> getServiceList() {
        if (serviceList == null) {
            return new ArrayList<>();
        }
        return serviceList;
    }

    public void setServiceList(List<ServiceListBean> serviceList) {
        this.serviceList = serviceList;
    }

    public List<LeaseListBean> getLeaseList() {
        if (leaseList == null) {
            return new ArrayList<>();
        }
        return leaseList;
    }

    public void setLeaseList(List<LeaseListBean> leaseList) {
        this.leaseList = leaseList;
    }

    public static class TwoHardListBean {
        /**
         * pro_name : 辽宁省
         * working_hours : 10.0
         * id : 997
         * banner_pic : http://140.143.129.120:8080/jiangong/downloadFile.do?id=1937e701-170e-4c93-bf61-21dc70e94328
         * city_name : 辽阳市
         * title : 小松 110
         * price : 5.0
         * state : 0
         * price_unit : 万元
         * add_time : 2018.09.11 10:33:06
         * production_date : 2017.09.09 00:00:00
         */

        private String pro_name;
        private double working_hours;
        @SerializedName("id")
        private int idX;
        private String banner_pic;
        private String city_name;
        private String title;
        private double price;
        private int state;
        private String price_unit;
        private String add_time;
        private String production_date;

        public String getPro_name() {
            return pro_name == null ? "" : pro_name;
        }

        public void setPro_name(String pro_name) {
            this.pro_name = pro_name;
        }

        public double getWorking_hours() {
            return working_hours;
        }

        public void setWorking_hours(double working_hours) {
            this.working_hours = working_hours;
        }

        public int getIdX() {
            return idX;
        }

        public void setIdX(int idX) {
            this.idX = idX;
        }

        public String getBanner_pic() {
            return banner_pic == null ? "" : banner_pic;
        }

        public void setBanner_pic(String banner_pic) {
            this.banner_pic = banner_pic;
        }

        public String getCity_name() {
            return city_name == null ? "" : city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public String getTitle() {
            return title == null ? "" : title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getPrice_unit() {
            return price_unit == null ? "" : price_unit;
        }

        public void setPrice_unit(String price_unit) {
            this.price_unit = price_unit;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getProduction_date() {
            return production_date == null ? "" : production_date;
        }

        public void setProduction_date(String production_date) {
            this.production_date = production_date;
        }
    }

    public static class ServiceListBean {
        /**
         * id : 6
         * userPic : http://140.143.129.120:8080/jiangong/downloadFile.do?id=79becbb9-7d7e-41e4-bcc0-618d961a9a78
         * cityName : 鞍山市
         * userName : 我是工程师
         * type : 1
         * serviceInfo : 该喝喝vvv
         * proviceName : 辽宁省
         * addTime : 2018.08.23 15:21:59
         * isShow : 1
         */

        @SerializedName("id")
        private int idX;
        private String userPic;
        private String cityName;
        private String userName;
        private String type;
        private String serviceInfo;
        private String proviceName;
        private String addTime;
        private int isShow;

        public int getIdX() {
            return idX;
        }

        public void setIdX(int idX) {
            this.idX = idX;
        }

        public String getUserPic() {
            return userPic == null ? "" : userPic;
        }

        public void setUserPic(String userPic) {
            this.userPic = userPic;
        }

        public String getCityName() {
            return cityName == null ? "" : cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getUserName() {
            return userName == null ? "" : userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getServiceInfo() {
            return serviceInfo == null ? "" : serviceInfo;
        }

        public void setServiceInfo(String serviceInfo) {
            this.serviceInfo = serviceInfo;
        }

        public String getProviceName() {
            return proviceName == null ? "" : proviceName;
        }

        public void setProviceName(String proviceName) {
            this.proviceName = proviceName;
        }

        public String getAddTime() {
            return addTime == null ? "" : addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }
    }

    public static class LeaseListBean {
        /**
         * pro_name : 河北省
         * id : 235
         * banner_pic : http://140.143.129.120:8080/jiangong/downloadFile.do?id=3ee0626a-ba18-4e27-b49a-0495c24c2a25
         * city_name : 秦皇岛市
         * title : 三一重工 6321
         * price : 23.0
         * state : 0
         * price_unit : 元/小时
         * add_time : 2018.09.12 22:29:46
         */

        private String pro_name;
        @SerializedName("id")
        private int idX;
        private String banner_pic;
        private String city_name;
        private String title;
        private double price;
        private int state;
        private String price_unit;
        private String add_time;

        public String getPro_name() {
            return pro_name == null ? "" : pro_name;
        }

        public void setPro_name(String pro_name) {
            this.pro_name = pro_name;
        }

        public int getIdX() {
            return idX;
        }

        public void setIdX(int idX) {
            this.idX = idX;
        }

        public String getBanner_pic() {
            return banner_pic == null ? "" : banner_pic;
        }

        public void setBanner_pic(String banner_pic) {
            this.banner_pic = banner_pic;
        }

        public String getCity_name() {
            return city_name == null ? "" : city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public String getTitle() {
            return title == null ? "" : title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getPrice_unit() {
            return price_unit == null ? "" : price_unit;
        }

        public void setPrice_unit(String price_unit) {
            this.price_unit = price_unit;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }
    }
}
